package com.ruoyi.staffing.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * HR-候选人家庭成员对象 hr_candidate_family
 */
public class HrCandidateFamily extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 候选人ID(hr_candidate.id) */
    private Long candidateId;

    /** 与本人关系(父/母/配偶/子女等) */
    @Excel(name = "关系")
    private String relation;

    /** 姓名 */
    @Excel(name = "姓名")
    private String memberName;

    /** 性别(0男,1女) */
    @Excel(name = "性别")
    private Integer gender;

    /** 出生年月 */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM")
    private Date birthDate;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String workUnit;

    /** 职务/岗位 */
    @Excel(name = "职务/岗位")
    private String jobTitle;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 删除标志(0存在 1删除) */
    private String delFlag;

    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public Long getCandidateId() { return candidateId; }
    public void setCandidateId(Long candidateId) { this.candidateId = candidateId; }

    public String getRelation() { return relation; }
    public void setRelation(String relation) { this.relation = relation; }

    public String getMemberName() { return memberName; }
    public void setMemberName(String memberName) { this.memberName = memberName; }

    public Integer getGender() { return gender; }
    public void setGender(Integer gender) { this.gender = gender; }

    public Date getBirthDate() { return birthDate; }
    public void setBirthDate(Date birthDate) { this.birthDate = birthDate; }

    public String getWorkUnit() { return workUnit; }
    public void setWorkUnit(String workUnit) { this.workUnit = workUnit; }

    public String getJobTitle() { return jobTitle; }
    public void setJobTitle(String jobTitle) { this.jobTitle = jobTitle; }

    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }

    public String getDelFlag() { return delFlag; }
    public void setDelFlag(String delFlag) { this.delFlag = delFlag; }
}
